//
//  ShopCarView.h
//  shanHaiHuiApp
//
//  Created by DS on 2018/3/9.
//  Copyright © 2018年 徐双. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ShopCarModel.h"

@interface ShopCarView : UIView

- (instancetype)initWithFrame:(CGRect)frame selectedHandle:(void (^)(NSString *))selectedHandle;

- (void)show;

-(void)dismiss;

Copy void(^getCaulteClick)(void);

Copy void(^getClearClick)(void);


//存取的字典
Strong NSDictionary * dict;

Strong NSMutableArray * dataArr;


//卡号
Strong UIImageView * picImageView;
Strong UILabel * cardLabel;
Strong UITextField * textField;
Strong UIView * lineView;
Strong UILabel * seletedLabel;
Strong UIButton * clearShopCarBtn;
Strong UIView * lineView1;

//底部购物车视图
Strong UIView * bottomView;
Strong UIImageView * shopImageview;
Strong UILabel * totalPriceLabel;
//销量:
Strong UILabel * numberLabel;
Strong UILabel * countLabel;
Strong UIButton * calculateBtn;




Copy void(^getPlusClick)(ShopCarView * view,NSInteger goodCount,NSString * spph);
Copy void(^getMinusClick)(ShopCarView * view,NSInteger goodCount,NSString * spph);
Copy void(^getTextFieldClick)(ShopCarView * view,NSInteger goodCount,NSString * spph);



Copy void(^getDeletedClick)(ShopCarView * view,NSInteger goodCount,NSString * spph);


@end
